package pl.squeaky.mvc.generator;

import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;

public class ModelGenerator extends ClassGenerator {

	public ModelGenerator(String name) {
		super(name);
	}
	
	public IFile generate(IFolder modelsFolder, String modelName) {
		IFile file = modelsFolder.getFile(modelName + ".php");
		
		generate(file);
		
		return file;
	}
}
